

% Pseudo-XML schema for encoding of a Conception map window in an XML format. 


<?xml version="1.0" encoding="UTF-8"?>
<conception_map conception_version = "3.0">
  <schema>
  <window>
  <nodes>
  <connections>
</conception_map>

<schema>                % Describes this schema. Intended to be common to every window.
   <version> 1.0 </version>
   <author> Tom Conlon, Parallel Logic Programming Ltd, tom@parlog.com
   </author> <last_modified> 15.12.2006 </last_modified>
   <specification>See Styles/Docs</specification>
</schema>

<window>
   <title>:atom
   <class>:atom         % Subclass of conception_window of which this window is an instance
   <stylesheet>:atom    % Stylesheet for this window
   <position>           % Absolute screen location
   <dimensions>         
   <author> Not available </map_author>             % At present, unused
   <creation_date> Not available </creation_date>   % At present, unused
   <last_modified> Not available </last_modified>   % At present, unused
</window>

<position>
   <x>:int
   <y>:int
</position>

<dimensions>
   <wd>:int
   <ht>:int
</dimensions>

<nodes>
   <node>
   -----
   <node>
</nodes>

<node>
   <id>:int
   <position>
   <style_no>:int
   <styles>
</node>
 
</styles>
   <shape>
   <children>
   <label>:name
   <text_width>:int|auto
   <hyperlinks>
   <note>:atom|off
   <lab_display>:off|on
   <border>:none|normal|shadow
   <fill_colour>:colour
   <edge_colour>:colour
   <text_colour>:colour 
   <text_bg_colour>:colour 
   <unused>:atom
   <font>
</styles>
 
<colour>
    <red>
    <green>
    <blue>
</colour>
 
<font>
    <font_name>
    <font_size> 
    <font_style>
</font>

<shape shape_class = oval_node> <dimensions> </shape>
<shape shape_class = roundbox_shape> <dimensions></shape>
<shape shape_class = box_shape>  <dimensions> </shape>
<shape shape_class = arclabel_shape><dimensions></shape>
<shape shape_class = promptbox_shape> <prompt> <font> </shape>
<shape shape_class = sidebar_shape> <prompt> <font> </shape>
<shape shape_class = picture_shape>
     <libname>: picture_library_folder_name    | 'Non-library files'
     <picname>: picture_library_file_base_name | Absolute_file_name    	
     <scalefactor>
</shape>

<hyperlinks>
     <hyperlink>
     .......
     <hyperlink>
</hyperlinks>


<hyperlink link_type = file> Abs_file_name </hyperlink>
<hyperlink link_type = url> URL </hyperlink>
    
<children style_role =  arclabel>
     <exiting_arc_style_no>:int
</children>

<children style_role =  symbol>
     <child>
     .....
     <child>
</children>


<child >
    <arc_style_no>:int
    <child_node_style_no>:int
</child>


<connections>
    <connection>
    ..........
    <connection>
</connections>

<connection class = arclink1>>         % Symbolnode->Arclabelnode arcs
     <connected_nodes>
     <connection_attributes>
     <child_arclabel_style_no>:int
</connection>

<connection class = arclink2>         % Arclabelnode->symbolnode arcs
     <connected_nodes>
     <connection_attributes>
</connection>

<connection class = arclink12>        % Symbol->symbol arcs
     <connected_nodes>
     <connection_attributes>
     <label>:name                     % Hidden but shown on popup 
</connection>

<connection_attributes>
     <style_no>:int
     <arrows>: forward|backward|off  
     <line_colour>:colour
     <thickness>:1..4
</connection_attributes>

<connected_nodes>
     <source_node_reference>:int
     <destination_node_reference>:int
</connected_nodes>

 


---------- END OF SCHEMA   */
